using System;
using System.Collections;
using System.Collections.Generic;
using Cysharp.Threading.Tasks;
using DG.Tweening;
using UniFramework.Asset;
using UniFramework.Localization;
using UniFramework.Log;
using UniFramework.WebRequest;
using UniFramework.Window;
using UnityEngine;
using UnityEngine.UI;
using YooAsset;
using UniFramework.Utility;

public class GameLauncher : MonoBehaviour
{
	private async void Start()
	{
		await UniAssetSystem.Init();
		UniLogger.Log("GameLauncher Init");
		UniWindow.Initalize(this.gameObject);
		List<LocaleIdentifier> locales  = new List<LocaleIdentifier>()
		{
			new LocaleIdentifier(SystemLanguage.Afrikaans)
		};
		UniLocalization.Initalize(locales);
		string cultureCode = LocaleIdentifier.GetSystemLanguageCultureCode(SystemLanguage.Afrikaans);
		TableData tableData = new TableData(cultureCode,locales[0].CultureCode);
		UniLocalization.AddTableData(tableData);
		UniLocalization.ChangeLocale(locales[0].CultureCode);
	}

	private void Update()
	{

	}
}